<ion-view hide-nav-bar="true" title="首页">
    <ion-content class="detail-page" ng-show="vm.teacherInfo != null">
        <div class="item item-divider" style="line-height: 25px;">
            班主任信息
            <a style="font-size: 0.8rem;color: #9C9696;float: right;" href="javascript:;" ng-click="editMemberInfo()">修改资料</a>
        </div>
        <div>
            <table>
                <tbody>
                <tr style="box-shadow: none;">
                    <td data-title="&nbsp;" style="border: 0px;">
                        &nbsp;
                    </td>
                    <td data-title="头像:"><img ng-src="{{vm.teacherInfo.avatarPath}}" style="width: 100px;"></td>
                    <td data-title="姓名:">{{vm.teacherInfo.memberName}}</td>
                    <td data-title="性别:">{{vm.teacherInfo.memberSex == '1' ? '男' : '女'}}</td>
                    <td data-title="年龄:">{{vm.teacherInfo.memberBirthday | ageFilter}}</td>
                    <td data-title="手机号码:">{{vm.teacherInfo.memberPhone}}</td>
                    <!--<td data-title="执行状态：">{{vm.teacherInfo.entrustState == 'execute' ? '已执行' : '未执行'}}</td>-->
                    <!--<td data-title="嘱托类型：">{{vm.teacherInfo.entrustType == 'audio' ? '音频嘱托' : '文字嘱托'}}</td>-->
                    <!--<td data-title="重点嘱托：">{{vm.teacherInfo.importantState == 'true' ? '是' : '否'}}</td>-->
                    <!--<td data-title="嘱托时间:">{{vm.teacherInfo.entrustTime | date:'yyyy-MM-dd HH:mm'}}</td>-->
                </tr>
                <!--<tr style="position: relative; box-shadow: none;">-->
                    <!--<td data-title="正文:" style="border: 0px;">&nbsp;</td>-->
                    <!--<td data-content>-->
                        <!--<div ng-show="vm.entrust.entrustType == 'text'">-->
                            <!--{{vm.entrust.entrustContent}}-->
                        <!--</div>-->
                        <!--<div ng-show="vm.entrust.entrustType == 'audio'">-->
                            <!--<div class="entrust-audio-play-box">-->
                                <!--<div class="entrust-audio-play"></div>-->
                                <!--<div class="play-button paused" ng-click="playAudio()">-->
                                    <!--<div class="left"></div>-->
                                    <!--<div class="right"></div>-->
                                    <!--<div class="triangle-1"></div>-->
                                    <!--<div class="triangle-2"></div>-->
                                <!--</div>-->
                            <!--</div>-->
                            <!--<audio src="{{vm.entrust.entrustAudioPath}}" controls style="display: none;"></audio>-->
                            <!--<div class="loading-icon">-->
                                <!--<div class="spinner" role="spinner"><div class="spinner-icon"></div></div>-->
                            <!--</div>-->
                            <!--<div class="audio-nprogress" style="width: 0%;"></div>-->
                        <!--</div>-->
                    <!--</td>-->
                <!--</tr>-->
                </tbody>
            </table>
        </div>
        <div class="item item-divider" style="line-height: 25px;">
            班级操作
        </div>
        <div>
            <div class="row row-wrap">
                <div class="col col-50 col-center menu-div" ui-sref="classMenu.classInfo">
                    <i class="ion ion-calendar" aria-hidden="true"></i>
                    <p>班级信息</p>
                </div>
                <div class="col col-50 col-center menu-div" ui-sref="entrust.teacherEntrustList">
                    <i class="ion ion-chatbox-working" aria-hidden="true"></i>
                    <p>待办嘱托</p>
                </div>
                <div class="col col-50 col-center menu-div" ui-sref="classMenu.classNotice">
                    <i class="ion ion-speakerphone" aria-hidden="true"></i>
                    <p>班级公告</p>
                </div>
                <div class="col col-50 col-center menu-div" ui-sref="classMenu.classActivity">
                    <i class="ion ion-ios-game-controller-b-outline" aria-hidden="true"></i>
                    <p>班级活动</p>
                </div>
                <div class="col col-50 col-center menu-div" ui-sref="memberMenu.chooseStudent({nextState:'msg.text'})">
                    <i class="ion ion-chatbox-working" aria-hidden="true"></i>
                    <p>留言</p>
                </div>
            </div>
        </div>
        <!--<div class="item item-divider" style="line-height: 45px;">-->
            <!--班级成员-->
        <!--</div>-->
        <!--<div>-->
            <!--<div class="row row-wrap">-->
                <!--<div class="col col-50" ng-repeat="item in vm.items track by $index"  ui-sref="classMenu.studentIndex({studentId:item.id})">-->
                    <!--<div class="card card-facebook margin-0">-->
                        <!--<div class="item item-avatar-center">-->
                            <!--<img ng-src="{{item.avatarPath}}">-->
                            <!--<h2 class="ng-binding">{{item.memberName}}</h2>-->
                        <!--</div>-->
                    <!--</div>-->
                <!--</div>-->
            <!--</div>-->
            <!--<div class="load-more-btn" style="text-align: center;" ng-click="loadMoreEntrust()">-->
                <!--<p>{{vm.loadMoreBtnStr}}</p>-->
            <!--</div>-->
        <!--</div>-->
    </ion-content>
</ion-view>